package com.mm.service;

import com.mm.bo.CategoryInsertBo;
import com.mm.bo.CategorySearchBo;
import com.mm.bo.CategoryUpdateBo;
import com.mm.util.PageUtil;
import com.mm.vo.CategoryInfoVo;

/**
 * @ClassName CategoryInfoService
 * @Description TODO
 * @Author 任昊
 * @Date 2020/12/7 10:14
 */
public interface CategoryInfoService {
    /**
     * 新增物资种类
     *
     * @param categoryInsertBo
     * @return
     */
    Integer insertCategoryInfo(CategoryInsertBo categoryInsertBo);

    /**
     * 修改物资种类
     *
     * @param categoryUpdateBo
     * @return
     */
    Integer UpdateCategoryInfo(CategoryUpdateBo categoryUpdateBo);

    /**
     * 删除物资种类
     *
     * @param cateId
     * @return
     */
    Integer deleteCategoryInfo(String cateId, String token);

    /**
     * 查询物资种类
     *
     * @param categorySearchBo
     * @return
     */
    PageUtil<CategoryInfoVo> selectCategoryInfo(CategorySearchBo categorySearchBo);
}
